package com.portal.incurridos.persistence.dao;

import com.portal.incurridos.persistence.enumeration.StateTransactionEnum;
import com.portal.incurridos.persistence.wall.CheckList;

/**
 * @author Alan Dávila
 * e-mail ustargab@gmail.com
 * date 24/11/2013 23:20:34
 */
public interface CheckListDao {

	/**
	 * Get the information about the required check list.
	 * @param checkList Identifier of check list.
	 * @return Object with the information.
	 */
	CheckList get(final Long checkList);
	/**
	 * Create a new check list.
	 * @param checkList Object to create.
	 * @return Object has been created.
	 */
	CheckList create(final CheckList checkList);
	/**
	 * Update a existing check list.
	 * @param checkList Object will be update.
	 * @return State of the operation.
	 */
	StateTransactionEnum update(final CheckList checkList);
	/**
	 * Delete a check list.
	 * @param checkList Object will be delete.
	 * @return State of the operation.
	 */
	StateTransactionEnum delete(final CheckList checkList);
}
